package com.lebang.service;

import com.lebang.configuration.datasource.DataSource;
import com.lebang.domain.TaskTag;
import com.lebang.example.TaskTagExample;
import com.lebang.mapper.TaskTagMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* upload_img_record
* @Author hwq
* @Date 2020-09-01
*/
@Service
public class TaskTagService extends BaseService<TaskTag,Long, TaskTagExample>{

    @Autowired
    private TaskTagMapper taskTagMapper;

    @DataSource("commonDB")
    public List<TaskTag> selectByEx(TaskTagExample taskTagExample) {
        return taskTagMapper.selectByExample(taskTagExample);
    }
}
